<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>新建采集点</title>
    <script >
        window.menuCode='CollectionDir';
        window.thirdMenuCode='point';
    </script>
    <link href="../../assets/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet">
    <link href="../../assets/css/public.css" type="text/css" rel="stylesheet">
    <script src="../../assets/jquery/jquery.2.1.1.min.js"></script>
    <script src="../../assets/jquery/jquery.validate.min.js"></script>
    <script src="../../assets/jquery/jquery.validate.ext.js"></script>
    <script src="../../assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="../../assets/lay/layer/layer.js"></script>
    <script src="../../assets/common/d_common.js"></script>
    <script src="../../assets/jrain/jrain.js"></script>
    <script src="../../assets/jrain/json2.js"></script>
    <script src="../../assets/jrain/dateformat.js"></script>
    <script src="js/points_add.js"></script>
    <script src="../../assets/jrain/jraincommon.js"></script>
    <script>
        $(function(){
            updateLoad();
        });
    </script>
    <style>
        .q-input-group-add-text60{
            border-radius: 0;
            border: 1px solid #b3b3b3;
            border-left: none;
            height:30px;
            line-height:30px;
            width:60px;
            padding:0;
        }
        .q-form-ipt-point2{
            width:-moz-calc(100% - 210px)  !important;
            width:-webkit-calc(100% - 210px)  !important;
            width: calc(100% - 210px)  !important;
        }
    </style>
</head>
<body>
<div class="container">
    <!--head-->
    <div id="header" class="headerbox">

    </div>
    <!--head-->
    <!--内容区域-->
    <div class="row  sidebar-mini" id="mainCont">
        <div class="wrapper">
            <div class="main-left" id="leftMenu">left</div>
            <div class="main-right">
                <div class="rightcont" id="rightCont">
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-sheetTitle pl10">基本信息</div>
                    <form class="form-inline q-form" id="theform" name="theform" >
                        <input type="hidden" name="url" value="/rest/IotPointBusiness/modify">
                        <input type="hidden" name="b_id" id="b_id" value=""></input>
                        <input type="hidden"  id="b_deviceId" name="b_deviceId" value="">
                        <input type="hidden" name="b_dataCodeOld" id="b_dataCodeOld" value="">
                        <input type="hidden" name="b_statusOld" id="b_statusOld" value="">
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>设备编码：</label>
                            <input id="b_deviceCode" name="b_deviceCode" type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                            <span class="errorDevice"></span>
                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>数据编号：</label>
                            <input id="b_dataCode" name="b_dataCode" type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder=""><span class="errorDevice"></span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">数据名称：</label>
                            <input id="b_dataName" name="b_dataName" type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>数据类型：</label>
                            <select class="form-control q-form-ipt q-form-ipt-device" id="b_dataType" name="b_dataType">
                                <option value="1">电</option>
                                <option value="2">焦炉煤气</option>
                                <option value="3">高炉煤气</option>
                                <option value="4">转炉煤气</option>
                                <option value="5">天然气</option>
                                <option value="6">蒸汽</option>
                                <option value="7">氧气</option>
                                <option value="8">氮气</option>
                                <option value="9">氩气</option>
                                <option value="10">压缩空气</option>
                                <option value="11">软水</option>
                                <option value="12">净环水</option>
                                <option value="13">纯水</option>
                                <option value="14">浊环水</option>
                                <option value="15">消防水</option>
                                <option value="16">自来水</option>
                                <option value="17">循环水</option>
                            </select>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>仪表量程：</label>
                            <input id="b_dataRange" name="b_dataRange" type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>


                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>数据精度：</label>
                            <input id="b_dataScale" name="b_dataScale" type="text" class="form-control q-form-ipt q-form-ipt-point2" placeholder=""><span class="input-group-addon q-input-group-add-text60 fr-inline">小数位数</span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130"><span
                                    class="redstar">*</span>采集周期：</label>
                            <input id="b_dataCycle" name="b_dataCycle" type="text" class="form-control q-form-ipt q-form-ipt-point" placeholder=""><span class="input-group-addon q-input-group-add-text30 fr-inline">分</span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">数据单位：</label>
                            <input id="b_dataUnit" name="b_dataUnit"  type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">单位周期最大量：</label>
                            <input id="b_dataYield" name="b_dataYield" type="text" class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">异常倍数：</label>
                            <input id="b_dataMultiple" value="3" name="b_dataMultiple" type="text" class="form-control q-form-ipt q-form-ipt-point" placeholder=""><span class="input-group-addon q-input-group-add-text30 fr-inline">倍</span>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">仪表连续增长：</label>
                            <label class="">
                                <input name="b_dataLj_1" checked="checked" value="1" type="radio"> 累计量</label> <label class="">
                            <input name="b_dataLj_1" value="2" type="radio"> 瞬时量</label>
                            <input  type="hidden"   id="b_dataLj" name="b_dataLj" value="1">
                        </div>

                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">状态：</label>
                            <label class="">
                                <input name="b_status_1" checked="checked" value="1" type="radio"> 正常</label> <label class="">
                            <input name="b_status_1" value="2" type="radio"> 停用</label>
                            <input  type="hidden"   id="b_status" name="b_status" value="1">
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 q-textarea">
                            <label class="control-label text-w130">仪表修正公式：</label>
                            <textarea  rows="3" cols="" class="form-control q-form-ipt q-form-ipt-device" placeholder="" name="b_dataExpr" id="b_dataExpr"></textarea>
                        </div>
                        <div class="col-lg-4 col-md-4 col-sm-4 mt10">
                            <label class="control-label text-w130">排序：</label>
                            <input id="b_rowSort" name="b_rowSort" type="text" value="1000"  class="form-control q-form-ipt q-form-ipt-device" placeholder="">
                        </div>
                    </form>
                    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 q-bottom-btn mt20">
                        <a  class="q-form-btn q-form-btn-white mr5" id="returnBut">
                            <i class="qxticon icon-back"></i> 返回
                        </a>
                        <a href="javascript:;" class="q-form-btn q-form-btn-blue ml5" id="subBtn">
                            <i class="glyphicon glyphicon-floppy-save"></i> 保存
                        </a>
                    </div>
                </div>
                <!--底部区域-->
                <!--底部区域-->
                <div class="footer" id="footer"></div>
            </div>
        </div>
    </div>
    <!--内容区域-->
</div>
</body>
</html>